#include "bsp_param.h"

sys_main_param_t sys_main_param = {
    .sys_countdown = RUN_30MIN*5*60,
    .sys_error_type = ERROR_TYPE_NO_ERROR,
    .sys_mode = MODE_AC,
    .sys_power = POWER_8,
    .sys_runtime = RUN_30MIN,
    .sys_status = SYS_IDLE,
    .sys_temp_protect = TEMP_PROTECT_CLOSE,

    .ifappmqttconnect = MQTT_APP_DISCONNECT,
    .ifblufibleconnect = BLUFI_BLE_DISCONNECT,
};


send_param_t send_param = {
    .send_mode = MODE_AC,
    .send_runtime = RUN_30MIN * (30*60),
    .send_status = SYS_IDLE,
    .send_strength = POWER_8,
    .send_countdown = RUN_30MIN * (30*60),
    .send_error_type = ERROR_TYPE_NO_ERROR,
};


/* 缓存ota url */
char ota_firm_ver_url[100] = {0};
uint8_t ota_req_flag = OTA_IDLE;



void* Get_sys_param_pos()
{
    return &sys_main_param;
}

void* Get_send_param_pos()
{
    return &send_param;
}
















